package io.renren.modules.app.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;
import io.renren.modules.app.dao.AppCategoryLinkDao;
import io.renren.modules.app.entity.AppCategoryLink;
import io.renren.modules.app.service.AppCategoryLinkService;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;


@Service("appCategoryLinkService")
public class AppCategoryLinkServiceImpl extends ServiceImpl<AppCategoryLinkDao, AppCategoryLink> implements AppCategoryLinkService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<AppCategoryLink> page = this.selectPage(
                new Query<AppCategoryLink>(params).getPage(),
                new EntityWrapper<>()
        );

        return new PageUtils(page);
    }

}
